﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;

namespace RN.ERP.Entity
{
    /// <summary>
    /// 管理目录 - 用户角色，定义用户所属的角色
    /// </summary>
    public class MDUserRole
    {
        /// <summary>
        /// 用户代码
        /// </summary>
        [Key, Column(Order = 0)]
        public Guid UserID { get; set; }
        /// <summary>
        /// 角色代码
        /// </summary>
        [Key, Column(Order = 1)]
        public Guid RoleID { get; set; }
    }
}
